package com.bdqn.java45;

import java.text.SimpleDateFormat;
import java.util.Date;

public class Date1 {
public static void main(String[] args) {
	Date date=new Date();
	SimpleDateFormat format=new SimpleDateFormat("yyyy-MM-dd HH:mm ss");
	System.out.println(format.format(date));
}
}
